<?php

require_once ('Zend/Form.php');

class Form_Question_Add extends Zend_Form {
	
	public function __construct($options = null) {
		parent::__construct($options);
		
		//$this->addDecorator('Fieldset',array('legend' => 'Pridať otázku'));
		//$this->setAttrib('class','addQuestion');
		$text = new Zend_Form_Element_Textarea('text');
		$text->setAttrib('class','rtEditor')
		->addValidator('StringLength',false,array(5))
		->addFilter('StringTrim');
		
		$this->addElements(array($text));
	}
}

?>